package com.logwire.dto;import io.swagger.v3.oas.annotations.media.Schema;import lombok.Data;import java.util.List;/** * @author yhou * @ProjectName yhou-api * @description * @date 2022/11/13 4:50 PM */@Datapublic class BaseMenuDTO {	private Long id;	/**	 * 权限名称	 */	@Schema(description = "菜单名称")	private String name;	@Schema(description = "菜单路由")	private String url;	private String path = "/";	private String redirect = "noRedirect";	/**	 * 图标	 */	private String icon;	private List<BaseMenuDTO> children;	private Meta meta = new Meta();	public void setUrl(String url) {		this.url = url;		this.path = url;	}	public void setName(String name) {		this.meta.setTitle(name);		this.name = name;	}	public void setIcon(String icon) {		this.icon = icon;		this.meta.setElSvgIcon(icon);	}}@Dataclass Meta {	private String title;	private String elSvgIcon;}